package com.iflytek.cosmo.ocr.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 版本配置项
 *
 * @author ljhan2
 * @date 2018/04/22
 */
@Configuration
@ConfigurationProperties(prefix = "iflybar")
public class VersionSettingProperties {

    /**
     * 服务器下载基础路径
     */
    private String bindIp;

    /**
     * 安装包存储目录
     */
    private String packageStoreHome = "/iflytek/data/sis-assistant/pakcage/";

    /**
     * 安装包对外映射URL
     */
    private String packageMappingBaseUrl = "/pakcage";

    /**
     * 协议类型
     */
    private String packageUrlSchema = "http";

    /**
     * @return the bindIp
     */
    public String getBindIp() {
        return bindIp;
    }

    /**
     * @param bindIp the bindIp to set
     */
    public void setBindIp(String bindIp) {
        this.bindIp = bindIp;
    }

    /**
     * @return the packageStoreHome
     */
    public String getPackageStoreHome() {
        return packageStoreHome;
    }

    /**
     * @param packageStoreHome the packageStoreHome to set
     */
    public void setPackageStoreHome(String packageStoreHome) {
        this.packageStoreHome = packageStoreHome;
    }

    /**
     * @return the packageMappingBaseUrl
     */
    public String getPackageMappingBaseUrl() {
        return packageMappingBaseUrl;
    }

    /**
     * @param packageMappingBaseUrl the packageMappingBaseUrl to set
     */
    public void setPackageMappingBaseUrl(String packageMappingBaseUrl) {
        this.packageMappingBaseUrl = packageMappingBaseUrl;
    }

    /**
     * @return the packageUrlSchema
     */
    public String getPackageUrlSchema() {
        return packageUrlSchema;
    }

    /**
     * @param packageUrlSchema the packageUrlSchema to set
     */
    public void setPackageUrlSchema(String packageUrlSchema) {
        this.packageUrlSchema = packageUrlSchema;
    }

}